<%-- 
  - Author: Asna
  - Date: 02-Jan-2012
  - Copyright Notice: TRAKHEES
  - Description: Company Financial info
 --%>
 <%@ include file="/WEB-INF/view/include.jsp"%>
  <div style="color: red;font-size: 15px;">
  	  	<c:if test="${(CompanyInformationInfo.companyLicenseNo==null || empty CompanyInformationInfo.companyLicenseNo)}">
			 	<c:if test="${(CompanyInformationInfo.gsError)}">
					<li><spring:message code="gs.inactive.msg" /></li>
				</c:if>
				 <c:if test="${(CompanyInformationInfo.companyError)}">
					<li><spring:message code="lic.inactive.msg" /></li>
				</c:if>
		</c:if>
  </div> 
    <div class="t_tmiddle-right">
				     <div id="GeneralInfo" class="t_tgeneralinfo-cont">
				     			<div class="t_tgeneralinfo-cont">
							        <div class="t_tgeneralinfo-top"><spring:message code="header.geninfo" /></div>
							        <ul>
							        <li>
							            <div class="t_gin-black-txt"><spring:message code="label.lic_no" /></div>
							            <div class="t_gin-grey-txt">${CompanyInformationInfo.companyLicenseNo}</div>
							          </li>
							          <li>
							            <div class="t_gin-black-txt"><spring:message code="label.comp_no" /></div>
							            <c:choose>
								            <c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
												<div class="t_gin-grey-txt">${CompanyInformationInfo.companyNameAr}</div>
											</c:when>
											<c:otherwise>
												<div class="t_gin-grey-txt">${CompanyInformationInfo.companyName}</div>
											</c:otherwise>
										</c:choose>
							          </li>
							          <li>
							            <div class="t_gin-black-txt"><b><b><spring:message code="label.emp_no" /></b></b></div>
							            <div class="t_gin-grey-txt"></div>
							          </li>
							          <li>
							            <div class="t_gin-black-txt"><spring:message code="label.reqAllowed" /></div>
							            <div class="t_gin-grey-txt">
							            <c:if test="${(CompanyInformationInfo.companyLicenseNo!=null || !empty CompanyInformationInfo.companyLicenseNo)}">
							            <fmt:formatNumber value="${CompanyInformationInfo.requiredAllowed}"  pattern="${numberPattern}" />
							            </c:if>
							            </div>
							          </li>
							          <li>
							            <div class="t_gin-black-txt"><spring:message code="label.allowed" /></div>
							            <div class="t_gin-grey-txt"><fmt:formatNumber value="${CompanyInformationInfo.allowed}"  pattern="${numberPattern}" /></div>
							          </li>
							          <li>
							            <div class="t_gin-black-txt"><spring:message code="label.actual" /></div>
							            <div class="t_gin-grey-txt">${CompanyInformationInfo.actualEmplyeesNum}</div>
							          </li>
							            <li>
							            <div class="t_gin-black-txt"><spring:message code="label.vacant" /></div>
							            <div class="t_gin-grey-txt"><fmt:formatNumber value="${CompanyInformationInfo.vacant}"  pattern="${numberPattern}" /></div>
							          </li>
							          <li>
							            <div class="t_gin-black-txt"><spring:message code="label.male" /></div>
							            <div class="t_gin-grey-txt">${CompanyInformationInfo.male}</div>
							          </li>
							          <li>
							            <div class="t_gin-black-txt"><spring:message code="label.female" /></div>
							            <div class="t_gin-grey-txt">${CompanyInformationInfo.female}</div>
							          </li>
							          <li>
							            <div class="t_gin-black-txt"><spring:message code="label.visitvisa" /></div>
							            <div class="t_gin-grey-txt">${CompanyInformationInfo.visitor}</div>
							          </li>
							             <li>
							            <div class="t_gin-black-txt"><spring:message code="label.medical_type" /></div>
							            <div class="t_gin-grey-txt">${medicalMap[CompanyInformationInfo.medicalType]}</div>
							          </li>
							             <li>
							            <div class="t_gin-black-txt"><spring:message code="label.gen.address" /></div>
							            <c:choose>
								            <c:when	test='${requestScope.requestContextAttribute.locale.language == "ar"}'>
												<div class="t_gin-grey-txt">${CompanyInformationInfo.addressAr}</div>
											</c:when>
											<c:otherwise>
												<div class="t_gin-grey-txt">${CompanyInformationInfo.address}</div>
											</c:otherwise>
										</c:choose>
							          </li>
							        </ul>
							      </div>
        			</div>
       </div>
